package com.mall.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 * @Author zhanggaoxiang
 * @Description 需要管理员权限的注释
 * @Date 2021/1/7 17:11
 * @Param 
 * @return 
 **/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface MangerLimit {
    boolean required() default true;
}
